
export default {
  page:(data:any)=>window.$http.post('/api/workflow/processinst/page', data),
  suspend:(data:any)=>window.$http.post('/api/workflow/processinst/suspend', data),
  activate:(data:any)=>window.$http.post('/api/workflow/processinst/activate', data),
  getImage:(processInstanceId:string)=>window.$http.get(`/api/workflow/processinst/image2/${processInstanceId}`,{responseType:"blob"})
}